Feature: Check items available for sale
Description: As user I want to check if I could add to shopping cart any searched item.
File name: amazon_test.feature
Relative path: features/amazon_test.feature
Scenario Outline: Perform a seach for any item and add it to the shopping cart
Before
Hook
00:00:00.003
And
I click on search button
00:00:03.052
After
Hook
00:00:00.550
Scenario Outline: Perform a seach for any item and add it to the shopping cart
Before
Hook
0s
org.openqa.selenium.NoSuchSessionException: Session ID is null. Using WebDriver after calling quit()?
Build info: version: '4.8.1', revision: '8ebccac989'
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '19'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [null, screenshot {}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 111.0.5563.65, chrome: {chromedriverVersion: 111.0.5563.64 (c710e93d5b63..., userDataDir: C:\Users\PEDRO~1.GIR\AppDat...}, goog:chromeOptions: {debuggerAddress: localhost:52718}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: WINDOWS, proxy: Proxy(), se:cdp: ws://localhost:52718/devtoo..., se:cdpVersion: 111.0.5563.65, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:145)
at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:167)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:142)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:598)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:602)
at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:318)
at actions.BrowserActions.takeScreenShot(BrowserActions.java:77)
at stepdefinitions.Tests.navigatesToAmazonHomePage(Tests.java:33)
at ✽.I navigate to Amazon home page(file:///C:/Users/pedro.giron01/Desktop/GitHub/verify_items/src/test/java/features/amazon_test.feature:7)
And
I type "GTX-4070 TI"
0s
And
I click on search button
0s
When
I see the results list for "GTX-4070 TI"
0s
And
I navigate to page "1"
0s
And
I select the item 3
0s
And
I add the item to shopping cart
0s
Then
I see the confirmation message
0s
And
I see the cart items count is "2"
0s
After
Hook
0s